package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.entity.Chuangwei;
import com.yl.auth.model.entity.Cwgenghuan;
import com.yl.auth.mapper.CwgenghuanMapper;
import com.yl.auth.model.entity.Laoren;
import com.yl.auth.model.vo.CwgenghuanVo;
import com.yl.auth.service.CwgenghuanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-06-19
 */
@Service
public class CwgenghuanServiceImpl extends ServiceImpl<CwgenghuanMapper, Cwgenghuan> implements CwgenghuanService {
    @Resource
    private CwgenghuanMapper cwgenghuanMapper;

    @Override
    public Page<CwgenghuanVo> getPageVo(Page<CwgenghuanVo> iPage, String lrname, String idnumber, String gender, Integer zhuangtai) {
        return cwgenghuanMapper.getPageVo(iPage,lrname,idnumber,gender,zhuangtai);
    }

    @Override
    public CwgenghuanVo getcwgenghuan(Integer id) {
        return cwgenghuanMapper.getcwgenghuan(id);
    }

    @Override
    public CwgenghuanVo getBycwId(Integer id) {
        return cwgenghuanMapper.getBycwId(id);
    }

    @Override
    public List<Laoren> lists() {
        return cwgenghuanMapper.lists();
    }

    @Override
    public CwgenghuanVo getByIdlrgenghuan(Integer id) {
        return cwgenghuanMapper.getByIdlrgenghuan(id);
    }

    @Override
    public List<CwgenghuanVo> getBypricefj() {
        return cwgenghuanMapper.getBypricefj();
    }

    @Override
    public List<Chuangwei> getfindsAll(Long id) {
        return cwgenghuanMapper.getfindsAll(id);
    }

    @Override
    public List<CwgenghuanVo> gethg() {
        return cwgenghuanMapper.gethg();
    }


}
